package com.lecyon.farm.vo.request;

import com.lecyon.farm.vo.base.BaseViewVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author YaoZheng
 * @since 2020-06-09
 */
@Data
@ApiModel("按区域及作业类型统计工作量")
public class TotalWorkQuantity extends BaseViewVo {

    @ApiModelProperty(value = "区域代码")
    private String areaCode;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "作业类型代码")
    private String typeCode;

    @ApiModelProperty(value = "作业类型")
    private String typeName;

    @ApiModelProperty(value = "当季作业总面积")
    private BigDecimal workLandArea;

    @ApiModelProperty(value = "当季作业总合格面积")
    private BigDecimal qualifiedLandArea;

    @ApiModelProperty(value = "当季作业设备台数")
    private Integer activeDeviceQuantity = 0;

    @ApiModelProperty(value = "统计年份")
    private Integer statisticYear;

    @ApiModelProperty(value = "统计开始日期")
    private LocalDate beginDate;

    @ApiModelProperty(value = "统计结束日期")
    private LocalDate endDate;

    @ApiModelProperty(name = "owner", value = "租户（直接上级区域代码）")
    private String owner;

}
